package blokucbl;

import java.util.ArrayList;
import java.util.Observer;

import java.util.Observable;

public class Damier extends Observable {

    private int width;

    private int length;

    private ArrayList<SousPiece> pièces;
    
    public Damier(Observer o) {
    	super();
    	this.addObserver(o);
    }

    public int getLength() {
        return length;
    }

    public void setLength(int length) {
        this.length = length;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public ArrayList<SousPiece> getPièces() {
	    return pièces;
	    
    }

    public void setPièces(ArrayList<SousPiece> pièces) {
        this.pièces = pièces;
    }

}

